package com.ruoyi.web.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@Data
@ApiModel("监控区域树形VO")
public class MonitorAreaTreeVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("ID")
    private Long baseId;

    @ApiModelProperty("区域名称")
    private String baseName;

    @ApiModelProperty("上级区域ID")
    private Long baseParentId;

    @ApiModelProperty("顺序")
    private Integer sort;

    /**
     * '1'：监控区域，'2'：监控摄像头
     */
    @ApiModelProperty("节点类型")
    private String type;

//    @ApiModelProperty("该区域下所拥有的摄像头")
//    private List<MonitorCameraVo> cameras = new ArrayList<>();

    @ApiModelProperty("子节点")
    private List<MonitorAreaTreeVo> children = new ArrayList<>();
}
